<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.17"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>RobotComm: SModbusTcpClientInfo结构体 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">RobotComm
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.17 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',false,false,'search.php','搜索');
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-attribs">Public 属性</a> &#124;
<a href="struct_s_modbus_tcp_client_info-members.html">所有成员列表</a>  </div>
  <div class="headertitle">
<div class="title">SModbusTcpClientInfo结构体 参考</div>  </div>
</div><!--header-->
<div class="contents">

<p>ModbusTCP客户端配置参数  
 <a href="struct_s_modbus_tcp_client_info.html#details">更多...</a></p>

<p><code>#include &lt;<a class="el" href="comm__struct__define_8h_source.html">comm_struct_define.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public 属性</h2></td></tr>
<tr class="memitem:af13a5ede473b858e342ee7ca63fb4b60"><td class="memItemLeft" align="right" valign="top"><a id="af13a5ede473b858e342ee7ca63fb4b60"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_s_modbus_tcp_client_info.html#af13a5ede473b858e342ee7ca63fb4b60">b_enable</a></td></tr>
<tr class="memdesc:af13a5ede473b858e342ee7ca63fb4b60"><td class="mdescLeft">&#160;</td><td class="mdescRight">通讯启用使能 <br /></td></tr>
<tr class="separator:af13a5ede473b858e342ee7ca63fb4b60"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8569b11a693ecc83126ed262c2bce5d4"><td class="memItemLeft" align="right" valign="top"><a id="a8569b11a693ecc83126ed262c2bce5d4"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_s_modbus_tcp_client_info.html#a8569b11a693ecc83126ed262c2bce5d4">b_read</a></td></tr>
<tr class="memdesc:a8569b11a693ecc83126ed262c2bce5d4"><td class="mdescLeft">&#160;</td><td class="mdescRight">通讯周期读使能 <br /></td></tr>
<tr class="separator:a8569b11a693ecc83126ed262c2bce5d4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a178dc587e8c5fa10478bdd9b1ff8b871"><td class="memItemLeft" align="right" valign="top"><a id="a178dc587e8c5fa10478bdd9b1ff8b871"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_s_modbus_tcp_client_info.html#a178dc587e8c5fa10478bdd9b1ff8b871">b_write</a></td></tr>
<tr class="memdesc:a178dc587e8c5fa10478bdd9b1ff8b871"><td class="mdescLeft">&#160;</td><td class="mdescRight">通讯周期写使能 <br /></td></tr>
<tr class="separator:a178dc587e8c5fa10478bdd9b1ff8b871"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1515f61cede760e7226f4a5bc73073e6"><td class="memItemLeft" align="right" valign="top"><a id="a1515f61cede760e7226f4a5bc73073e6"></a>
char&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_s_modbus_tcp_client_info.html#a1515f61cede760e7226f4a5bc73073e6">ip</a> [20]</td></tr>
<tr class="memdesc:a1515f61cede760e7226f4a5bc73073e6"><td class="mdescLeft">&#160;</td><td class="mdescRight">IP地址 <br /></td></tr>
<tr class="separator:a1515f61cede760e7226f4a5bc73073e6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a98a406c31185e5acef05a8d5aa9b95e5"><td class="memItemLeft" align="right" valign="top"><a id="a98a406c31185e5acef05a8d5aa9b95e5"></a>
unsigned short&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_s_modbus_tcp_client_info.html#a98a406c31185e5acef05a8d5aa9b95e5">port</a></td></tr>
<tr class="memdesc:a98a406c31185e5acef05a8d5aa9b95e5"><td class="mdescLeft">&#160;</td><td class="mdescRight">端口 <br /></td></tr>
<tr class="separator:a98a406c31185e5acef05a8d5aa9b95e5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa23908d4a5b18eff146cae52be9def1a"><td class="memItemLeft" align="right" valign="top"><a id="aa23908d4a5b18eff146cae52be9def1a"></a>
unsigned short&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_s_modbus_tcp_client_info.html#aa23908d4a5b18eff146cae52be9def1a">station_id</a></td></tr>
<tr class="memdesc:aa23908d4a5b18eff146cae52be9def1a"><td class="mdescLeft">&#160;</td><td class="mdescRight">站地址 <br /></td></tr>
<tr class="separator:aa23908d4a5b18eff146cae52be9def1a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2f3436a122a40a91d11682288bebe2c8"><td class="memItemLeft" align="right" valign="top"><a id="a2f3436a122a40a91d11682288bebe2c8"></a>
unsigned short&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_s_modbus_tcp_client_info.html#a2f3436a122a40a91d11682288bebe2c8">read_start_adress</a></td></tr>
<tr class="memdesc:a2f3436a122a40a91d11682288bebe2c8"><td class="mdescLeft">&#160;</td><td class="mdescRight">读起始地址 <br /></td></tr>
<tr class="separator:a2f3436a122a40a91d11682288bebe2c8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a908f1afedb3091f970d1a0170ff8fc14"><td class="memItemLeft" align="right" valign="top"><a id="a908f1afedb3091f970d1a0170ff8fc14"></a>
unsigned short&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_s_modbus_tcp_client_info.html#a908f1afedb3091f970d1a0170ff8fc14">read_data_len</a></td></tr>
<tr class="memdesc:a908f1afedb3091f970d1a0170ff8fc14"><td class="mdescLeft">&#160;</td><td class="mdescRight">读数据长度 <br /></td></tr>
<tr class="separator:a908f1afedb3091f970d1a0170ff8fc14"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a797226a107c20acbdee50215a0381ffc"><td class="memItemLeft" align="right" valign="top"><a id="a797226a107c20acbdee50215a0381ffc"></a>
unsigned short&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_s_modbus_tcp_client_info.html#a797226a107c20acbdee50215a0381ffc">write_start_adress</a></td></tr>
<tr class="memdesc:a797226a107c20acbdee50215a0381ffc"><td class="mdescLeft">&#160;</td><td class="mdescRight">写起始地址 <br /></td></tr>
<tr class="separator:a797226a107c20acbdee50215a0381ffc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a118b3ce1582bb3a6e3cd67dc06575dae"><td class="memItemLeft" align="right" valign="top"><a id="a118b3ce1582bb3a6e3cd67dc06575dae"></a>
unsigned short&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_s_modbus_tcp_client_info.html#a118b3ce1582bb3a6e3cd67dc06575dae">write_data_len</a></td></tr>
<tr class="memdesc:a118b3ce1582bb3a6e3cd67dc06575dae"><td class="mdescLeft">&#160;</td><td class="mdescRight">写数据长度 <br /></td></tr>
<tr class="separator:a118b3ce1582bb3a6e3cd67dc06575dae"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab960f810e622bc82cc189763a44c16e5"><td class="memItemLeft" align="right" valign="top"><a id="ab960f810e622bc82cc189763a44c16e5"></a>
unsigned short *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_s_modbus_tcp_client_info.html#ab960f810e622bc82cc189763a44c16e5">p_di_data</a></td></tr>
<tr class="memdesc:ab960f810e622bc82cc189763a44c16e5"><td class="mdescLeft">&#160;</td><td class="mdescRight">输入数据地址 <br /></td></tr>
<tr class="separator:ab960f810e622bc82cc189763a44c16e5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad4e346b084c8b7640f926eb6ddf44007"><td class="memItemLeft" align="right" valign="top"><a id="ad4e346b084c8b7640f926eb6ddf44007"></a>
unsigned short *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_s_modbus_tcp_client_info.html#ad4e346b084c8b7640f926eb6ddf44007">p_do_data</a></td></tr>
<tr class="memdesc:ad4e346b084c8b7640f926eb6ddf44007"><td class="mdescLeft">&#160;</td><td class="mdescRight">输出数据地址 <br /></td></tr>
<tr class="separator:ad4e346b084c8b7640f926eb6ddf44007"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa1efedc5daf30c943664d7782a6d54f5"><td class="memItemLeft" align="right" valign="top"><a id="aa1efedc5daf30c943664d7782a6d54f5"></a>
unsigned short&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_s_modbus_tcp_client_info.html#aa1efedc5daf30c943664d7782a6d54f5">time_out</a></td></tr>
<tr class="memdesc:aa1efedc5daf30c943664d7782a6d54f5"><td class="mdescLeft">&#160;</td><td class="mdescRight">超时时间,单位毫秒 <br /></td></tr>
<tr class="separator:aa1efedc5daf30c943664d7782a6d54f5"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p>ModbusTCP客户端配置参数 </p>
</div><hr/>该结构体的文档由以下文件生成:<ul>
<li>E:/RobotProgram/RobotComm/RobotComm/include/<a class="el" href="comm__struct__define_8h_source.html">comm_struct_define.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者 &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.17
</small></address>
</body>
</html>
